package com.qianfeng.mybatis.pojo;


public class Passport {

  private long passportId;
  private String nationality;
  private java.sql.Timestamp expire;
  private long passengerId;
  private Passenger passenger;

  public Passenger getPassenger() {
    return passenger;
  }

  public void setPassenger(Passenger passenger) {
    this.passenger = passenger;
  }

  public long getPassportId() {
    return passportId;
  }

  public void setPassportId(long passportId) {
    this.passportId = passportId;
  }


  public String getNationality() {
    return nationality;
  }

  public void setNationality(String nationality) {
    this.nationality = nationality;
  }


  public java.sql.Timestamp getExpire() {
    return expire;
  }

  public void setExpire(java.sql.Timestamp expire) {
    this.expire = expire;
  }


  public long getPassengerId() {
    return passengerId;
  }

  public void setPassengerId(long passengerId) {
    this.passengerId = passengerId;
  }

  @Override
  public String toString() {
    return "Passport{" +
            "passportId=" + passportId +
            ", nationality='" + nationality + '\'' +
            ", expire=" + expire +
            ", passengerId=" + passengerId +
            ", passenger=" + passenger +
            '}';
  }
}
